<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<!--     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -->
<meta chartset='utf-8'/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>运行状态监控工具</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <link rel="icon" type="image/png" href="${ctx}/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="${ctx}/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="${ctx}/assets/css/jquery-ui.css">    
    <link rel="stylesheet" href="${ctx}/assets/css/bootstrap.css"/>   
    <link rel="stylesheet" href="${ctx}/assets/css/bootstrap.min.css"/>    
    <link rel="stylesheet" href="${ctx}/assets/css/jquery.treetable.css">
    <link rel="stylesheet" href="${ctx}/assets/css/jquery.treetable.theme.default.css">
    <link rel="stylesheet" href="${ctx}/assets/css/feature.presenter.1.5.css">
    <link rel="stylesheet" href="${ctx}/assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="${ctx}/assets/css/admin.css">
    <link rel="stylesheet" href="${ctx}/assets/css/app.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/assets/css/xcConfirm.css"/>
<%--     <script src="${ctx}/assets/js/echarts.min.js"></script> --%>
</head>

<body data-type="index">


    <header class="am-topbar am-topbar-inverse admin-header" id="head">
			<%@include file='headbar.jsp' %>
    </header>

    <div class="tpl-page-container tpl-page-header-fixed">
    <div id="list" class="tpl-left-nav tpl-left-nav-hover">
			<%@include file='leftMenu.jsp' %>
    </div>

        <div class="tpl-content-wrapper" >
        		<%-- <iframe name="myframe" id ="myframe" src="${ctx}/fristpage.action" style='width:100%;height:100%;' scrolling="no"></iframe> --%>
        		<iframe name="myframe" id ="myframe" src="${ctx}/views/host/control" style='width:100%;height:100%;' scrolling="no"></iframe>
        </div>
    </div>
	 <script src="${ctx}/assets/js/jQuery/jquery-1.9.1.js"></script>
    <script src="${ctx}/assets/js/jQuery/jquery.min.js"></script>
	 <script src="${ctx}/assets/js/jQuery/jquery-ui.js"></script>
    <script src="${ctx}/assets/js/jQuery/jquery.treetable.js"></script>
	 <script src="${ctx}/assets/js/common/bootstrap.min.js"></script>
	 <script src="${ctx}/assets/js/common/feature.presenter.1.5.min.js"></script>
    <script src="${ctx}/assets/js/common/combinationDrag.js"></script>
    <script src="${ctx}/assets/js/common/amazeui.min.js"></script>
    <script src="${ctx}/assets/js/common/xcConfirm.js"></script>
	 <script src="${ctx}/assets/js/common/jsplumb.js"></script>
    <script src="${ctx}/assets/js/common/config.js"></script>
	 <script src="${ctx}/assets/js/common/config.js"></script>    
    <script src="${ctx}/assets/js/common/app.js"></script>    
    <script src="${ctx}/assets/js/layer/layer.js"></script>
    <%
   if(userCode.contains("1003")){
    %>
    <script >
    var layerIndex;
	    $('#list_4-1').click(function() {	        
	                layer.ready(function () {
	                	layerIndex=layer.open({
	                        type: 2,
	                        skin: 'layui-layer-lan',
	                        title: '模型选择',
	                        fix: false,
	                        scrollbar:false,
	                        shadeClose: true,
	                        maxmin: true,
	                        area: ['817px', '550px'],
	                        content: constUrl +'views/task/chooseModel.action'
	                    });
	                	$("#myframe").attr("findex",layerIndex)
	                });
	    });
    </script>
    <%
    }
    %>
    <script src="${ctx}/assets/js/index/index.common.js"></script>
</body>

</html>
